package com.atguigu.gmall.gateway;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.SpringCloudApplication;
import org.springframework.cloud.client.circuitbreaker.EnableCircuitBreaker;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;

/**
 * @author lfy
 * @Description
 * @create 2023-08-14 15:30
 */
//@EnableCircuitBreaker  //开启断路保护（流量保护）
//@EnableDiscoveryClient //开启服务注册和服务发现
//@SpringBootApplication
@SpringCloudApplication //cloud应用
public class GatewayMainApplication {
    public static void main(String[] args) {
        SpringApplication.run(GatewayMainApplication.class,args);
    }
}
